package com.example.ddcoursequery;

/**
 * Created by admin on 2015/12/14.
 */
public class Resources {
    //url
    //请求查询老师列表的url地址
    public static final String IP = "10.0.2.2";
    public static final String queryTeacherUrl = "http://"+IP+":8080/zzDDWeb_2/getT";
    //通过工号和学期查询老师课表  .../?teacher_id=&semester
    //http://192.168.43.153:8080/zzDDWeb_2/getTableFromDB?teacher_id=1001&semester=20150
    public final static String queryCourseUrl_is = "http://"+IP+":8080/zzDDWeb_2/getTableFromDB?";
    //请求校验码图片
    public final static String  queryImageUrl = "http://"+IP+":8080/zzDDWeb_2/getCode";
    //第二次请求老师的课程
    //semester teacher_id code
    public final static String queryCourseUrl_isc = "http://"+IP+":8080/zzDDWeb_2/getTableFromWeb?";

    //学期索引
    public static final String[] semestersIndex = {"20150","20141","20140","20131","20130","20121","20120","20111","20110","20101","20100"};

    //使用数据库的版本
    public static final int db_version = 1;

    public static final String imagePath = "/data/data/com.example.ddcoursequery/code.jpg";
}
